import random
a = int(input("число выстрелов "))
b = 0
dota = 0
while b < a:
    b = b + 1
    c = random.randint(-100, 100)
    e = random.randint(-100, 100)
    if c > 0 and c < 6 and e > 0 and e < 6:
       dota == dota + 1
    elif c > 0 and c < 6 and e < 0 and e > (-9):
        dota == dota + 1
    elif c < 0 and c > (-8) and e > 0 and e < 6:
        dota == dota + 1
    elif c < 0 and c > (-8) and e < 0 and e > (-9):
        dota == dota + 1
print("число попаданий ", dota)
